package com.njupt.towerssystem.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ManagerInfos {
    private int userid;
    private String username;
    private String loginname;
    private String loginpwd;
    private String tel;
    private String department;
    private Date createtime;
    private Date lasttime;
    private String token;

    @Override
    public String toString() {
        return  userid +
                "," + username +
                "," + loginname +
                "," + loginpwd +
                "," + tel +
                "," + department +
                "," + createtime +
                "," + lasttime +
                "," + token;
    }
}
